export const column = [
  {
    title: '序号',
    dataIndex: 'id',
    key: 'id',
  },
  {
    title: '支付名称',
    dataIndex: 'name',
    key: 'name',
  },
  {
    title: '支付类型',
    dataIndex: 'event_type',
    key: 'event_type',
    scopedSlots: { customRender: 'event_type' },
  },
  {
    title: '创建人',
    dataIndex: 'staff',
    key: 'staff',
    scopedSlots: { customRender: 'staff' }
  },
  {
    title: '创建时间',
    dataIndex: 'created_at',
    key: 'created_at',
  },
  {
    title: '操作',
    dataIndex:'area_no',
    key:'area_no',
    scopedSlots: { customRender: 'area_no' }
  }
];
export const appendPayment = [
  {
    name:'支付名称',
    type:'input',
    val:'',
    must:true,
    place:'请输入名称',
    key:'name'
  },
  {
    name:'支付类型',
    type:'select',
    val:'',
    must:true,
    place:'请选择支付类型',
    key:'event_type',
    selectData:[
      {id:1,name:'线下支付'},
      {id:2,name:'微信支付'},
      {id:3,name:'支付宝支付'},
      {id:4,name:'线上支付'},
      {id:5,name:'卡支付'},

    ],
    nameKey:'name',
    idKey:'id'
  },
  {
    name:'支付图标',
    type: 'upload',
    val:'',
    must: false,
    key:'icon'
  }
];
